﻿@using ECG.WebUI.CustomHelpers
@model List<ECG.Common.ProductCategoryBannerHomeDto>
@{
    if (Model.Any())
    {
        var count = 0;
        foreach (var item in Model)
        {
            count++;
            var css = "prom-c-border";
            if (count == Model.Count)
            {
                css = string.Empty;
            }
            <div class="prom-cate-1 @css">
                <a href="@item.Url">
                    <img src="@item.ImagePath.ImagePathThumbDefault()" width="@item.Width" height="@item.Height" alt="@item.Description" />
                </a>
            </div>
        }
    }
}

